<%--
	 +----------------------------------------------------------------------+
	 |																		|
	 | 易宝 配置文件															|
	 |																		|		
	 +----------------------------------------------------------------------+
--%>
<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeadingKey="system.pay.yibao" />
<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoAction(this, 'saveConfigAction');" />
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/paymentMethod.html" />
</content>

<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span><fmt:message key="system.pay.yibao"/></span></li>
	</ul>
</div>
<div class="modify">
	<form class="mainForm" name="configForm" id="configForm" method="post" action="paymentMethod.html" onsubmit="return validateFormWithMsg(this);">
	<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
		<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.pay.shuo"/></h4></th>
			</tr>
			<tr>
				<th colspan="2" >
					<IMG alt="YeePay" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>
					<ul class="intro">
						<li><fmt:message key="system.pay.please"/><a target="_blank" href="http://www.yeepay.com" style="color:red;text-decoration: underline"><fmt:message key="system.pay.yitong"/></a><fmt:message key="system.pay.notice"/></li>
						<li><fmt:message key="system.pay.she"/></li>
					</ul>
				</th>
			</tr>
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.paymentGateway.configItem"/></h4></th>
			</tr>
			<tr>
				<th class="label_width_1"><fmt:message key="system.pay.saleser"/>(<span class="red">*</span>):</th>
				<td>
					<input class="inputtxt" style="width: 350px" name="merchantId" value="${paymentGateway.configData.merchantId}" validConf="required,maxlength=100"/>
				</td>
			</tr>
			<tr>
				<th>
					<fmt:message key="system.pay.michi"/>(<span class="red">*</span>):
				</th>
				<td>
					<textarea class="texttxt" style="width: 350px" name="encryptionKey" validConf="required,maxlength=100">${paymentGateway.configData.encryptionKey}</textarea>
				</td>
			</tr>
		</table>
	</form>
</div>

<script>
$j(document).ready(function(){
	autoApplyValidate($j('#configForm')[0]);
});
</script>